/**
 * 
 */
package Common.Entities;

import java.io.Serializable;
import java.sql.Date;

/**
 * This class holds the Employee's entity properties and methods
 * @author ori ziv
 *
 */
public class Employee extends Person implements Serializable {
	
	private static final long serialVersionUID = 637529202462461971L;
	private String position;
	private String department;
	private STATUS status;
	private String userName;
	private char[] password;
	/**
	 * @return the position
	 */
	public String getPosition() {
		return position;
	}
	/**
	 * @param position the position to set
	 */
	public void setPosition(String position) {
		this.position = position;
	}
	/**
	 * @return the department
	 */
	public String getDepartment() {
		return department;
	}
	/**
	 * @param department the department to set
	 */
	public void setDepartment(String department) {
		this.department = department;
	}
	/**
	 * @return the status
	 */
	public STATUS getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(STATUS status) {
		this.status = status;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * @return the password
	 */
	public char[] getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(char[] password) {
		this.password = password;
	}
	
	public Employee () {
		this.position = null;
		this.department = null;
		this.status = null;
		this.userName = null;
		this.password = null;
	}
	
	/**
	 * @param iD
	 * @param name
	 * @param birthday
	 * @param phone
	 * @param position
	 * @param department
	 * @param status
	 * @param userName
	 * @param password
	 */
	public Employee(String iD, String name, Date birthday, String phone,
			String position, String department, STATUS status, String userName,
			char[] password) {
		super(iD, name, birthday, phone);
		this.position = position;
		this.department = department;
		this.status = status;
		this.userName = userName;
		this.password = password;
	}
	
	

}
